
#ifndef _LED_H
#define _LED_H

#define LEDn														 2

#define LED1_PIN                         GPIO_Pin_2
#define LED1_GPIO_PORT                   GPIOD
#define LED1_GPIO_CLK                    RCC_APB2Periph_GPIOD  
  
#define LED2_PIN                         GPIO_Pin_8
#define LED2_GPIO_PORT                   GPIOA
#define LED2_GPIO_CLK                    RCC_APB2Periph_GPIOA  

void LED_Init(void);
void LED_ON(unsigned char led);
void LED_OFF(unsigned char led);
void LED_Toggle(unsigned char led);

#endif


